package 生产者消费者模型;

public class Main {
    public static void main(String[] args) {
        Data data = new Data();

        new Thread(new Producer_01(data)).start();
        new Thread(new Producer_02(data)).start();
        new Thread(new Consumer_01(data)).start();
        new Thread(new Consumer_02(data)).start();

    }
}
